package code;

import java.rmi.Remote;
import java.rmi.RemoteException;

interface BanqueInterface extends Remote {

	public Compte ouvrirCompte(String nom, String password) throws Exception,RemoteException ;
	
	public Compte verifie(String nom, String password) throws RemoteException;
	public int fermerCompte(String nom, String password) throws RemoteException;
		
	public void deposer(int somme, Compte c) throws RemoteException;
	
	public int retirer(int somme, Compte c) throws RemoteException;
	
	public int balance (Compte c) throws RemoteException;

}
